//服务器地址
//var serverAddress = "http://192.168.100.88:3000";
//var serverAddress = "http://123.207.186.30";
var serverAddress = "http://192.168.0.11:3000";
//var serverAddress="http://pt.70jiahu.com";

var appregisterUrl = "/api/doctor/appregister"; //注册
var gethisUrl = "/api/doctor/gethis"; //获得医院信息
var loginUrl = "/api/doctor/applogin"; //登陆
var changeimgeUrl = "/api/doctor/changeimge"; //修改头像 post  path
var setnicknameUrl = "/api/doctor/setnickname"; //修改昵称 put  nikeName

var setnewpasswordUrl = "/api/doctor/setnewpassword"; //设置新密码 post  newpassword
var authenticationUrl = "/api/doctor/authentication"; //认证接口  put
var changepasswordUrl = "/api/doctor/changepassword"; //修改密码 POST  参数: oldpassword newpassword
var addopinionUrl = "/api/doctor/addopinion"; //修改密码 POST  参数: content
var changeservicestatusUrl = "/api/doctor/changeservicestatus"; //修改密码 POST  参数: isActive

var showhomenothavelistUrl = "/api/dc/order/showhomenothavelist/"; //家附近未抢单列表 +/:userid GET
var showworknothavelistUrl = "/api/dc/order/showworknothavelist/"; //公司附近未抢单列表 +/:userid GET
var showwaitconfirmedlistUrl = "/api/dc/order/showwaitconfirmedlist"; //待确认订单列表 +/:userid GET
var showwaitservicelistUrl = "/api/dc/order/showwaitservicelist"; //待服务订单列表 +/:userid GET
var showendservicelistUrl = "/api/dc/order/showendservicelist"; //完成订单列表 +/:userid GET
var confirmorderUrl = "/api/dc/order/confirmorder/"; //抢单 +/:orderid PUT
var backorderUrl = "/api/dc/order/backorder/"; //退单 +/:orderid PUT
var addorderdrugsUrl = "/api/dc/order/addorderdrugs/"; //订单添加药品 +/:orderid PUT
var addordersparesUrl = "/api/dc/order/addorderspares/"; //订单添加备品 +/:orderid PUT
var getorderdetailUrl = "/api/dc/order/getorderdetail/"; //订单添详情 +/:orderid Get

var alladdressandgpsUrl = "/api/doctor/alladdressandgps/"; //+/:userid put
var showdetailUrl = "/api/doctor/showdetail"; //医护详细信息 get
var getdoctoraccountUrl = "/api/doctor/getdoctoraccount"; //获得账户信息 get
var getdoctoraccountdetailUrl = "/api/doctor/getdoctoraccountdetail"; //获得账户详细信息 get
var savecardinfoUrl = "/api/doctor/savecardinfo"; //存储银行卡信息 put cardUserName cardUserPhone checkCode cardBankName cardNo
var withdrawalsUrl = "/api/doctor/withdrawals"; //提现  put  参数：amount

var addorderstarttimeUrl = "/api/dc/order/addorderstarttime/"; //添加服务出发状态+/:orderid put
var addorderarrivetimeUrl = "/api/dc/order/addorderarrivetime/"; //添加服务到达状态+/:orderid put
var addorderleavetimeUrl = "/api/dc/order/addorderleavetime/"; //添加服务离开状态+/:orderid put
var addorderserviceUrl = "/api/dc/order/addorderservice/"; //添加工作日志+/:orderid put
var getorderserviceUrl = "/api/dc/order/getorderservice/"; //添加工作日志+/:orderid get
var confirmserviceUrl = "/api/dc/order/confirmservice/"; //确认完成订单+/:orderid put
var setorderconfirmUrl = "/api/dc/order/setorderconfirm/"; //确认订单+/:orderid put

var srvcUrl = "/api/au/srvc"; //获得验证码  ?pn=xxx&uid=yyy
var crvcUrl = "/api/au/crvc";//验证 ?pn=xx&vc=xxx
var checkcodeUrl = "/api/doctor/checkcode"; //验证验证码
var chengephonenoUrl = "/api/doctor/chengephoneno"; //修改手机号码
var uploadfileUrl = "/api/upload"; //音频文件上传接口
var uploadImgFileUrl = "/api/uploadImg"; //上传图片接口
var getnotificationUrl = "/api/getnotification"; // +userId  消息接口
var appsendBackVerCodeUrl = "/api/doctor/appsendBackVerCode"; //密码找回发送验证码 get || uid pn
var getpatientsUrl = "/api/dc/order/getpatients" ;//获得病人列表   get || page limit
var createQrcodeUrl = "/api/doctor/createQrcode"; //获得二维码 get || jiahuno
var appitemdetailsUrl = "/api/item/appitemlist/"; //获得服务项目 get || pid
var addServiceItemsUrl = "/api/doctor/addServiceItems"; //获得服务项目




var aCity = {
	11: "北京",
	12: "天津",
	13: "河北",
	14: "山西",
	15: "内蒙古",
	21: "辽宁",
	22: "吉林",
	23: "黑龙江",
	31: "上海",
	32: "江苏",
	33: "浙江",
	34: "安徽",
	35: "福建",
	36: "江西",
	37: "山东",
	41: "河南",
	42: "湖北",
	43: "湖南",
	44: "广东",
	45: "广西",
	46: "海南",
	50: "重庆",
	51: "四川",
	52: "贵州",
	53: "云南",
	54: "西藏",
	61: "陕西",
	62: "甘肃",
	63: "青海",
	64: "宁夏",
	65: "新疆",
	71: "台湾",
	81: "香港",
	82: "澳门",
	91: "国外"
}